From c664b945622ce8cdd0548e5c2c013ff04ba7db12 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Mon, 26 Mar 2007 00:16:40 +0100 Subject: [PATCH] Fix memory values -- they should be in bytes. Signed-off-by: Ewan Mellor --- tools/libxen/test/test_bindings.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/libxen/test/test_bindings.c b/tools/libxen/test/test_bindings.c index 58074a9b02..0904ec3ca8 100644 --- a/tools/libxen/test/test_bindings.c +++ b/tools/libxen/test/test_bindings.c @@ -379,10 +379,10 @@ static xen_vm create_new_vm(xen_session *session, bool hvm) .name_description = hvm ? "New HVM VM" : "New PV VM", .user_version = 1, .is_a_template = false, - .memory_static_max = 256, - .memory_dynamic_max = 256, - .memory_dynamic_min = 128, - .memory_static_min = 128, + .memory_static_max = 256 * 1024 * 1024, + .memory_dynamic_max = 256 * 1024 * 1024, + .memory_dynamic_min = 128 * 1024 * 1024, + .memory_static_min = 128 * 1024 * 1024, .vcpus_params = vcpus_params, .vcpus_max = 4, .vcpus_at_startup = 2, -- 2.30.2